const { ccclass, property } = cc._decorator

@ccclass
export default class StartScene extends cc.Component {
    @property(cc.Button)
    playBtn: cc.Button = null

    protected start(): void {
        this.playBtn.node.on('click', (button) => {
            //加载游戏场景
            cc.director.loadScene('GameScene')
        })
    }
}